import control
from matplotlib import pyplot as plt

sys = control.tf([1],[1/5000,1020/5000,20000/5000,0])

control.rlocus(sys)
plt.show()